stubdom/vtpm: fix memcmp in TPM_ChangeAuthAsymFinish
authorOlaf Hering <olaf@aepfle.de>
Mon, 18 Jun 2018 12:55:36 +0000 (14:55 +0200)
committerIan Jackson <ian.jackson@eu.citrix.com>
Wed, 7 Nov 2018 10:46:37 +0000 (10:46 +0000)
commitdea9fc0e02d92f5e6d46680aa0a52fa758eca9c4
treea4d0447c2a8a3682c363c89d79e08c4c1b845975
parentff9f8730a993b0ffac06af28af0b0132e1f123fe
stubdom/vtpm: fix memcmp in TPM_ChangeAuthAsymFinish

gcc8 spotted this error:
error: 'memcmp' reading 20 bytes from a region of size 8 [-Werror=stringop-overflow=]

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
(cherry picked from commit 22bf5be3237cb482a2ffd772ffd20ce37285eebf)
stubdom/Makefile
stubdom/vtpm_TPM_ChangeAuthAsymFinish.patch [new file with mode: 0644]